package com.ww.sound_emission.domain.mqtt;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

public class Sensor {
        @JsonProperty("break")
        private Boolean breakStatus;
        private Boolean io;
        @JsonProperty("isShowSpl")
        private Boolean isShowSpl;
        private Double s;
        private Double s1;
        private Double s2;
        private Double s3;
        private Double spl;

        public Boolean getBreakStatus() {
                return breakStatus;
        }

        public void setBreakStatus(Boolean breakStatus) {
                this.breakStatus = breakStatus;
        }

        public Boolean getIo() {
                return io;
        }

        public void setIo(Boolean io) {
                this.io = io;
        }

        public Boolean getShowSpl() {
                return isShowSpl;
        }

        public void setShowSpl(Boolean showSpl) {
                isShowSpl = showSpl;
        }

        public Double getS() {
                return s;
        }

        public void setS(Double s) {
                this.s = s;
        }

        public Double getS1() {
                return s1;
        }

        public void setS1(Double s1) {
                this.s1 = s1;
        }

        public Double getS2() {
                return s2;
        }

        public void setS2(Double s2) {
                this.s2 = s2;
        }

        public Double getS3() {
                return s3;
        }

        public void setS3(Double s3) {
                this.s3 = s3;
        }

        public Double getSpl() {
                return spl;
        }

        public void setSpl(Double spl) {
                this.spl = spl;
        }

        @Override
        public String toString() {
                return "Sensor{" +
                        "breakStatus=" + breakStatus +
                        ", io=" + io +
                        ", isShowSpl=" + isShowSpl +
                        ", s=" + s +
                        ", s1=" + s1 +
                        ", s2=" + s2 +
                        ", s3=" + s3 +
                        ", spl=" + spl +
                        '}';
        }
}